﻿<Page
    x:Class="EightOData.DetailPage"
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
    xmlns:local="using:EightOData"
    xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
    xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
    mc:Ignorable="d">

    <Grid Margin="0,0,0,3">
        <Grid.Background>
            <ImageBrush ImageSource="Assets/Background-2.jpg" />
        </Grid.Background>

        <Grid.RowDefinitions>
            <RowDefinition Height="140"/>
            <RowDefinition Height="*"/>
        </Grid.RowDefinitions>
        
        <!-- Back button and page title -->
        <Grid>
            <Grid.ColumnDefinitions>
                <ColumnDefinition Width="Auto"/>
                <ColumnDefinition Width="*"/>
            </Grid.ColumnDefinitions>
            <Button x:Name="backButton" Style="{StaticResource BackButtonStyle}" Tapped="BackButton_Tapped" />
            <TextBlock x:Name="pageTitle" Text="{StaticResource AppName}" Grid.Column="1" IsHitTestVisible="false" Style="{StaticResource PageHeaderTextStyle}" Foreground="Black" />
        </Grid>
        <Button x:Name="boutonOk" Content="OK" HorizontalAlignment="Left" Margin="1120,500,0,0" Grid.Row="1" VerticalAlignment="Top" Foreground="#FFEBE5DE" BorderBrush="#FFEBE5DE" Background="#FF3E3E3E" Height="40" Click="Button_Click_1"/>
    </Grid>
</Page>